&:only-child { margin: 0; }
- popover & { // when in a popover add more space between the label and the check, reset the other side margin.
- // See https://bugzilla.gnome.org/show_bug.cgi?id=779570 for details.
- &.left:dir(rtl) {
- margin-left: 0;
- margin-right: 12px;
- }
-
- &.right:dir(ltr) {
- margin-left: 12px;
- margin-right: 0;
- }
- }
-
min-height: 14px;
min-width: 14px;
border: 1px solid;
check:only-child, radio:only-child { margin: 0; }
-popover check.left:dir(rtl), popover radio.left:dir(rtl) { margin-left: 0; margin-right: 12px; }
-
-popover check.right:dir(ltr), popover radio.right:dir(ltr) { margin-left: 12px; margin-right: 0; }
-
check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, #424242 20%, #353535 90%); border-color: #070707; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #eeeeec; }
check:hover, radio:hover { background-image: linear-gradient(to bottom, #4c4c4c 10%, #3f3f3f 90%); }
check:only-child, radio:only-child { margin: 0; }
-popover check.left:dir(rtl), popover radio.left:dir(rtl) { margin-left: 0; margin-right: 12px; }
-
-popover check.right:dir(ltr), popover radio.right:dir(ltr) { margin-left: 12px; margin-right: 0; }
-
check, radio { background-clip: padding-box; background-image: linear-gradient(to bottom, white 20%, white 90%); border-color: #bfb8b1; box-shadow: 0 1px rgba(0, 0, 0, 0.05); color: #2e3436; }
check:hover, radio:hover { background-image: image(#f2f2f2); }